"""
2017.06.04
学习使用字典dict
"""

cleese = {}
plain = dict()
print(type(cleese))
print(type(plain))

cleese['Name'] = 'John Cleese'
cleese['Occupations'] = ['actor', 'comedian', 'writer', 'film producer']
plain = {'Name': 'Michael Palin', 'Occupations': ['comedian', 'actor', 'writer', 'tv']}

print(plain['Name'])
print(cleese['Occupations'][-1])

plain['Birth Place'] = 'Broom Hill'
cleese['Birth Place'] = 'Weston-super-Mare'

print(plain)
print(cleese)